package com.ldgk.pim.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.ldgk.pim.client.presenter.MainPresenter;
import com.ldgk.pim.client.view.MainView;
import com.ldgk.pim.client.view.gwt.MainViewImpl;

/**
 * System's entry point
 * @version 1.0
 *
 */
public class PimEntryPoint implements EntryPoint {
	public void onModuleLoad() {
		//Instantiate the main presenter / view
		MainView mainView = new MainViewImpl();
		new MainPresenter(mainView);
		
		//Add the viewport to the root panel
		RootPanel.get().add(mainView.getViewPort());
	}
}

